-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[6.15.z] Fix hostCollection entities #1564
[6.15.z] Fix hostCollection entities #1564
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless anyone comes with idea how to avoid the sleep
, I'm okay with that.
submit = self.browser.selenium.find_element(By.XPATH, './/input[@value="Submit"]') | ||
submit.click() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it possible to move selenium specific code in airgun/views/hostcollection.py
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that I would have to create new subclass just for this one "back ported" change, which is not necessary imo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay
submit = self.browser.selenium.find_element(By.XPATH, './/input[@value="Submit"]') | ||
submit.click() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay
This PR is part of the fix that is made in SatelliteQE/robottelo#16379
It is 6.15.z specific because in 6.15 when running the install package action via customized REX there is a difference between 6.15 and 6.16 because it uses an old job invocation page that has not been cherry-picked in airgun, so little hacky solution is to hardcode the submit button which can't be found to the entity and submit the prefilled form afterwards. This little fix makes the test work.